{% extends "layout.html" %}
{% block content %}
  <ul class='events'>
    {% for event in events %}
      <li><a href="{{ url_for('show_event', ev_id=event.id, cal_id=event.calendar_id) }}"><h2>{{ event.title }}</h2></a>{{ event.description }}
    {% else %}
      <li><em>No events!</em>
    {% endfor %}
  </ul> 
{% endblock %}